import { fetch, query } from 'api'
/**==========================
 *         用户会务预约
 ==========================*/
//  会议室列表
let _roomlist = () => {
  var param = {
    Meeting_Room_list: {
      IsDelete: false,
      order: "Sort",
      field: "ID,Name,Img,Floor,Area,DeskType,MaxNum,AdvanceDays,Sort,AddTime,IsDelete,Online,Price,AMTime,PMTime"
    }
  }
  return query(param)
}
//  会议室详情
let _detail = id => {
  let param = {
    Meeting_Room: {
      ID: id //参数  会议室ID
    }
  }
  return query(param)
}
export {
  _roomlist,
  _detail
}